priority -50

snippet pdefine "Parse define method"
Parse.Cloud.define('${1:}',function(request,response){
	${2:}
};
endsnippet

snippet pbeforesave "Parse before save"
Parse.Cloud.beforeSave("${1:}",function(request,response){
	${2:}
};
endsnippet

snippet paftersave "Parse after save"
Parse.Cloud.afterSave("${1:}",function(request,response){
	${2:}
}
endsnippet

snippet pbeforedelete "Parse before delete"
Parse.Cloud.beforeDelete("${1:}",function(request,response){
	${2:}
}
endsnippet

snippet pafterdelete "Parse after delete"
Parse.Cloud.afterDelete("${1:}",function(request,response){
	${2:}
}
endsnippet


snippet pjob "Parse job"
Parse.Cloud.job("${1:}",function(request,response){
	${2:}
}
endsnippet

snippet prequest "Parse httpRequest"
Parse.Cloud.job({
	url:${1:},
	params:{
		${10:}
	},
	headers: {
		${11:}
	},
	success:function(httpResponse){
		${2:}
	},
	error:function(httpResponse){
		console.log('${3:}');
	}
});
endsnippet

snippet psuccess "Parse response success"
response.success(${1:});
endsnippet

snippet perror "Parse response error"
response.error('${1:}');
endsnippet




